<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>测试管理 <%=action_name%></title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <%= stylesheet_link_tag 'scaffold' %>
  <link href="/stylesheets/home_page.css" rel="stylesheet" type="text/css" />
  <link href="/stylesheets/nav.css" rel="stylesheet" type="text/css" />
  <script src="/validation/lib/prototype.js" type="text/javascript"></script>
  <script src="/validation/lib/effects.js" type="text/javascript"></script>
  <script src="/validation/validation_cn.js" type="text/javascript"></script>
  <link rel="stylesheet" type="text/css" href="/validation/styles/style_min.css" />
  <style>
    .second{background:#6293BB; height:30px;}
    .last{background:#6293BB;width:168px; height:30px;}
    #main{background-color: #fff; height:800px; width:960px;}
    a { color: #6293BB; }
    a:visited { color: #6D91AF; }
    a:hover { color: #fff; background-color:#6293BB; }
    p.smallNav{
      color:#4FB0FF;
    }
  </style>
</head>

<body>
  <div id="head">
          <div class="logo">
            <img src="/images/home_page/images/logot.jpg" width="305" height="78" />
          </div>
          <div class="head_right">
            
            <ul>
              <li><span style="color:green">在线心理测量系统后台管理</span>
                <a href="/login/login">登录</a><span>|</span></li>
              <li><a href="/login/logout">安全退出</a></li>
            </ul>
          </div>
  </div>
  <div id="menu">
    <ul id="nav">
      <li class="second"><a href="#">首页</a></li>
      <li class="second"><%= link_to '倾向测试管理', :controller=>'surveys/t_surveys', :action=>'index' %> </li>
      <li class="second"><%= link_to '计分测试管理', :controller => 'surveys/c_tests_manage', :action => 'index' %></li>
      <li class="second"><%=link_to '专业量表管理' , :controller=>"surveys/prof_surveys" , :action=>"index"%></li>
      <li class="second"><%=link_to '数据分析' %>
      </li>
      <li class="second"><%=link_to '帮助', :controller => "surveys/surveys", :action => "helps" %></li>

      <li class="last"> &nbsp;&nbsp;</li>
    </ul>
  </div>
  
  <div id="main" style="padding-left:0px">
    <div style="padding-left: 30px">
      <div id="noticeDiv" style="display:none;background-color:#FFF1A8;height:25px;width:200px">
        <conter>
          <font id="noticeFont"><%=flash[:notice] %></font>
        </conter>
      </div>
      <br />
      <script>
        window.onload = function(){
          if($("noticeFont").innerHTML != ""){
            $("noticeDiv").show();
          }
          window.setTimeout(hide, 3000);
        }
        function hide() {
          $("noticeDiv").hide();
        }
      </script>

<%= yield%>
    </div>
  </div>


</body>
</html>
